package com.woniu.entity;

/**
 * @author WenXin
 * @version 1.0
 * @description: TODO
 * @date 2022/8/18 16:25
 */
public class Wife {
    private String name;


    public void eat() {
        System.out.println("老婆来了");
    }

    public void setName(String name) {
        this.name = name;
    }

    public Wife() {
    }

    public Wife(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Wife{" +
                "name='" + name + '\'' +
                '}';
    }
}
